package com.alili.springbooteditor.repository;

import com.alili.springbooteditor.entities.Persons;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PersonRepository extends JpaRepository<Persons,Integer> {
    public List<Persons> findPersonsByUsernameAndPassword(String username,String password);
}
